<?php

namespace app\job;


use app\model\Faces;
use app\queue\Queue;
use think\facade\Log;

class Task extends Queue {

    protected function execute($data): bool {
        $data['params']['queue']=0;
        Log::info("taskQueue:".json_encode($data));
        \app\model\Task::finishTask($data['params'],0);
        return true;
    }
}